/**
 * 
 */
package com.planner.core.service.core;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * @author Sangharsh
 *
 */
public class EMFService {
	private static final String TRANSACTIONS_OPTIONAL = "transactions-optional";
	private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory(TRANSACTIONS_OPTIONAL);

	private EMFService() {
		//
	}

	public static EntityManagerFactory get() {
		return emfInstance;
	}
}
